package cn.com.bod.fas.clm.model.po;

import cn.com.bod.fas.common.model.po.BasePo;
import lombok.Data;

import java.io.Serializable;
import javax.persistence.*;

/**
 * @description 贷款合同PO
 * @author shihf
 * @date 2019年09月25日 17时23分51秒
 * @version 1.0.0
 * @Copyright (c) scfhdt
 */
@Data
@Table(name = "cn_loan_con")
public class CnLoanConPo extends BasePo implements Serializable {
    private static final long serialVersionUID = 1L;
	
	/** 贷款合同表ID **/
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "LOAN_CON_ID")
	private Integer loanConId;
	
	/** 金融机构 **/
	@Column(name = "FIN_ORG_ID", unique = false, nullable = true, length = 10)
	private String finOrgId;
	
	/** 贷款合同编号 **/
	@Column(name = "LOAN_CON_NO", unique = false, nullable = true, length = 30)
	private String loanConNo;
	
	/** 贷款申请编号 **/
	@Column(name = "LOAN_APPLY_NO", unique = false, nullable = true, length = 22)
	private java.math.BigDecimal loanApplyNo;
	
	/** 贷款合同类型 **/
	@Column(name = "LOAN_CON_CODE", unique = false, nullable = true, length = 20)
	private String loanConCode;
	
	/** 客户号 **/
	@Column(name = "CUST_NO", unique = false, nullable = true, length = 20)
	private String custNo;
	
	/** 客户名称 **/
	@Column(name = "CUST_NAME", unique = false, nullable = true, length = 20)
	private String custName;

	/** 证件类型 **/
	@Column(name = "CERT_TYPE_ID", unique = false, nullable = true, length = 10)
	private String certTypeId;

	/** 证件号 **/
	@Column(name = "CERT_NO", unique = false, nullable = true, length = 20)
	private String certNo;
	
	/** 产品类型 **/
	@Column(name = "PROD_TYPE_ID", unique = false, nullable = true, length = 10)
	private String prodTypeId;
	
	/** 产品ID **/
	@Column(name = "PROD_ID", unique = false, nullable = true, length = 10)
	private Integer prodId;
	
	/** 担保方式 **/
	@Column(name = "GUAR_MODE_ID", unique = false, nullable = true, length = 10)
	private String guarModeId;
	
	/** 合同期限类型 **/
	@Column(name = "LOAN_TERM_TYPE_ID", unique = false, nullable = true, length = 10)
	private String loanTermTypeId;
	
	/** 合同期限 **/
	@Column(name = "CON_TERM", unique = false, nullable = true, length = 10)
	private Long conTerm;
	
	/** 合同起始日期 **/
	@Column(name = "CON_START_DATE", unique = false, nullable = true, length = 8)
	private String conStartDate;
	
	/** 合同终止日期 **/
	@Column(name = "CON_DUE_DATE", unique = false, nullable = true, length = 8)
	private String conDueDate;
	
	/** 基准利率代码 **/
	@Column(name = "BASE_INT_RATE_CODE", unique = false, nullable = true, length = 20)
	private String baseIntRateCode;
	
	/** 基准利率 **/
	@Column(name = "BASE_INT_RATE", unique = false, nullable = true, length = 16)
	private java.math.BigDecimal baseIntRate;
	
	/** 利率模式：固定利率、浮动利率 **/
	@Column(name = "INT_RATE_FIX_FLAG", unique = false, nullable = true, length = 20)
	private String intRateFixFlag;
	
	/** 利率调整方式 **/
	@Column(name = "RATE_ADJ_MODE_ID", unique = false, nullable = true, length = 10)
	private String rateAdjModeId;
	
	/** 利率浮动比 **/
	@Column(name = "INT_RATE_FLOAT_RATIO", unique = false, nullable = true, length = 16)
	private java.math.BigDecimal intRateFloatRatio;
	
	/** 执行利率 **/
	@Column(name = "EXEC_RATE", unique = false, nullable = true, length = 20)
	private String execRate;
	
	/** 还款方式 **/
	@Column(name = "LOAN_REPAY_MODE_ID", unique = false, nullable = true, length = 10)
	private String loanRepayModeId;
	
	/** 还款日 **/
	@Column(name = "REPAY_DAY", unique = false, nullable = true, length = 2)
	private Byte repayDay;
	
	/** 合同金额 **/
	@Column(name = "CON_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal conAmt;
	
	/** 合同可用余额 **/
	@Column(name = "CON_BAL", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal conBal;
	
	/** 合同签订日期 **/
	@Column(name = "CON_SIGN_DATE", unique = false, nullable = true, length = 8)
	private String conSignDate;
	
	/** 合同签订人 **/
	@Column(name = "CON_SIGN_USER_NAME", unique = false, nullable = true, length = 20)
	private String conSignUserName;
	
	/** 合同签订机构 **/
	@Column(name = "CON_SIGN_ORG_NAME", unique = false, nullable = true, length = 30)
	private String conSignOrgName;
	
	/** 合同状态 **/
	@Column(name = "CON_STATUS", unique = false, nullable = true, length = 20)
	private String conStatus;
	
}